package com.demo.common.email.config;

import com.demo.common.email.processor.EmailBeanPostProcessor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.*;

/**
 * 邮件服务配置
 *
 * @author DayDayUp
 * create on 2023-08-25
 **/
@Configuration
@ConditionalOnBean(annotation = EnableFxwEmailServer.class)
@Import({EmailBeanPostProcessor.class,EmailProperties.class})
public class EmailAutoConfiguration {

//    @Bean
//    public EmailBeanPostProcessor emailBeanPostProcessor() {
//        return new EmailBeanPostProcessor();
//    }
}
